Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Jun 2012 02:54:35 +0000 (22:54 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Jun 2012 02:54:35 +0000 (22:54 -0400)
commitffbb99822c42f6b6e7d8e401cdb10d565b12c9ff
tree7392702f021a320443972a7353f455d09d15f7d4
parentb6c4a9d883439bd54243810c98db011e009725a4
Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
* lisp/emacs-lisp/cl-macs.el: Provide itself.
(cl--labels-convert-cache): New var.
(cl--labels-convert): New function.
(cl-flet, cl-labels): New implementation with new semantics, relying on
lexical-binding.
* lisp/emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
(cl-closure-vars, cl--function-convert-cache)
(cl--function-convert): Move from cl-macs.el.
(lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
rename by removing the "cl-" prefix.
* lisp/emacs-lisp/macroexp.el (macroexp-unprogn): New function.
lisp/ChangeLog
lisp/emacs-lisp/cl-loaddefs.el
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl.el
lisp/emacs-lisp/macroexp.el